package com.blog.admin.mapper;

import com.blog.admin.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminMapper {

    int insertAdmin(Admin admin);

    Admin findByAccount(Admin admin);

    Admin findById(String id);

    int updateAdmin(Admin admin);

    Admin findBySalt(String token);
}
